//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Xml.Serialization;

namespace OpenLS.Drawing.Diagram
{
    [Flags]
    enum AxisType
    {
        [XmlEnum("self")]
        Self = 0x000000800,//Self
        [XmlEnum("ch")]
        Child = 0x000000400,//Child
        [XmlEnum("des")]
        Descendant = 0x000000200,//Descendant
        [XmlEnum("desOrSelf")]
        DescendantOrSelf = 0x000000100,//Descendant or Self
        [XmlEnum("par")]
        Parent = 0x00000080,//Parent
        [XmlEnum("ancst")]
        Ancestor = 0x00000040,//Ancestor
        [XmlEnum("ancstOrSelf")]
        AncostorOrSelf = 0x00000020,//Ancestor or Self
        [XmlEnum("followSib")]
        FollowingSibling = 0x00000010,//Follow Sibling
        [XmlEnum("precedSib")]
        PrecedingSibling = 0x000008,//Preceding Sibling
        [XmlEnum("follow")]
        Following = 0x000004,//Follow
        [XmlEnum("preced")]
        Preceding = 0x000002,//Preceding
        [XmlEnum("root")]
        Root = 0x000001,//Root
        [XmlEnum("none")]
        None = 0x100000,//None
    }
}